//
//  UILabel+YBAdd.m
//  yiban
//
//  Created by yiban on 16/6/30.
//  Copyright © 2016年 wry. All rights reserved.
//

#import "UILabel+YBAdd.h"

@implementation UILabel (YBAdd)
+(UILabel*)createLabelWithFrame:(CGRect)frame title:(NSString*)title font:(UIFont*)font align:(NSTextAlignment)align fontColor:(UIColor*)fontColor backGroundColor:(UIColor*)backGroundColor
{
    UILabel *label=[[UILabel alloc]init];
    label.frame=frame;
    label.text=title;
    label.font=font;
    label.textColor=fontColor;
    label.backgroundColor=backGroundColor;
    label.textAlignment=align;
    return label;
}
@end
